<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>flexible.js</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .box {
            width: 5rem;
            height: 3rem;
            background-color: red;
        }
    </style>
</head>
<body>
<div class="box"></div>
<!-- 引入这个flexible能够自动的适配视口，调整html中的font-size的大小，调整为宽的 1/10  -->
<script src="./js/flexible.js"></script>
</body>
</html>
